package com.linewell.service;


import com.linewell.pojo.Msg;
import com.linewell.pojo.UserInfo;

/**
 * @Title: ssm2
 * @description:
 * @author: hyuhuang@linewell.com
 * @since:2018/2/21
 */
public interface ICommentService {


    Msg insertComment(long articleId, String content, UserInfo userInfo, long articleByUserID);

    Msg getReply(long userId, long articleId, int page);

    Msg getCommentByUserId(long userId, int page);

    Msg deleteComment(long replyId);

    Msg godComment(long articleId);

    Msg getHotReply(int page);

    Msg insertReply(Long commentId, Long replyFromId, Long replyToId, String content);
}

